package bavaria.hightech.banking.condition;

public class GiroCondition extends Condition {
	private float debitInterest;
	private float creditInterest;
	private float overdraftLimit;

	public GiroCondition(float debitInterest, float creditInterest,
			float overdraftLimit) {
		this.debitInterest = debitInterest;
		this.creditInterest = creditInterest;
		this.overdraftLimit = overdraftLimit;
	}

	public void setDebitInterest(float debitInterest) {
		this.debitInterest = debitInterest;
	}

	public void setCreditInterest(float creditInterest) {
		this.creditInterest = creditInterest;
	}

	public float getDebitInterest() {
		return debitInterest;
	}

	public float getCreditInterest() {
		return creditInterest;
	}

	public float getoverdraftLimit() {
		return overdraftLimit;
	}

	@Override
	public String toString() {
		return "debitInterest: " + debitInterest + " creditInterest:"
				+ creditInterest + " overdraftLimit: " + overdraftLimit;
	}

}
